package com.loong.loong.hik.property.result.face;

import lombok.Data;

/**
 * 人脸评分返回类
 * @author jinyiang
 * @date 2023/3/12 19:55
 */
@Data
public class FaceScoreResultVo {

	private String code;

	private String msg;
	@lombok.Data
	public class Data{

		private Boolean checkResult;

		private String statusCode;

		private String statusMessage;

		private FacePicAnalysisResult facePicAnalysisResult;

		private String beard;

		private String mask;

		private int faceScore;

		/**
		 *
		 */
		@lombok.Data
		public class FacePicAnalysisResult{

			private int id;

			private int age;

			private int ageRange;

			private String ageGroup;

			private String gender;

			private String glasses;

			private String smile;

			private facePose facePose;
			private String targetModelData;

			private FaceRect faceRect;

			private FaceRect recommendFaceRect;

			private FaceMark faceMark;

			@lombok.Data
			public class FaceMark{

				private LeftEye leftEye;

				private LeftEye rightEye;

				private LeftEye noseTip;

				private LeftEye leftMouth;

				private LeftEye rightMouth;

				@lombok.Data
				public class LeftEye{
					private int x;

					private int y;
				}

			}

			@lombok.Data
			public class FaceRect{

				private Double height;

				private int width;

				private int x;

				private int y;
			}
			/**
			 *
			 */
			@lombok.Data
			public class facePose{
				private int pitch;
				private int yaw;
				private int roll;
				private double clearityScore;
				private double colorConfidence;
				private int eyeDistance;
				private int grayMean;
				private double visibleScore;

			}

		}
	}

}
